httpd with PUT method support
Laurence Lyu
roka100 at gmail.com
Tue Jun 19 14:39:30 UTC 2018
Hi all,
I am new to busybox, but I have a need to implement the WEB REST with PUT
method with httpd. I found the httpd in busybox doesnot support PUT .
Can I just edit the networking/httpd.c like below to avoid it sending me
the 501 HTTP ERROR?
< prequest = "PUT";
< if (strcasecmp(iobuf, prequest) != 0){
<
send_headers_and_exit(HTTP_NOT_IMPLEMENTED);
< }
Thank you.
Laurence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20180619/b6c015ed/attachment.html>
More information about the busybox
mailing list