SFML community forums

Help => Network => Topic started by: MorleyDev on July 17, 2012, 03:01:49 pm

Title: Http networking lacks Put and Delete method support?
Post by: MorleyDev on July 17, 2012, 03:01:49 pm
I was looking through SFML's HTTP documentation for 2.0 and noticed the list of supported request methods included GET, POST and HEAD. However, it seems there is no mention of PUT and DELETE.

I would of had use of these methods due to working on some code where I wanted to use a third party web service is using a REST design, tying specific functionality to them and letting you perform operations on an account in their database.

So, basically I'm curious: Why no put or delete? Or am I just blind?
Title: Re: Http networking lacks Put and Delete method support?
Post by: Laurent on July 17, 2012, 04:56:30 pm
Http and Ftp are still very basic in SFML, they lack a lot of features.

Create a new issue on the tracker if you want ;)
Title: Re: Http networking lacks Put and Delete method support?
Post by: MorleyDev on July 17, 2012, 05:39:17 pm
Done: https://github.com/SFML/SFML/issues/257

From my brief dive into the SFML code, it looks like it may be a quick addition by adding 4 lines (2 to the header and 2 to the source file). I documented what the change appears to require and where in the issue.
Title: Re: Http networking lacks Put and Delete method support?
Post by: Laurent on July 17, 2012, 08:52:06 pm
Thanks :)