[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: httpd with PUT method support
From: Laurence Lyu <roka100 () gmail ! com>
Date: 2018-06-19 14:39:30
Message-ID: CAL3bJKptQxUAgJ8y7bjVYNsSZOCTJ0E94mKp3eACuMGCrZ-V6A () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<div dir="ltr">Hi all, <div>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 . </div><div>Can I just edit the networking/httpd.c like below to avoid it \
sending me the 501 HTTP ERROR?</div><div><br></div><div><div>< \
prequest = "PUT";</div><div>< if \
(strcasecmp(iobuf, prequest) != 0){</div><div>< \
send_headers_and_exit(HTTP_NOT_IMPLEMENTED);</div><div>< \
}</div></div><div><br></div><div>Thank you.</div><div>Laurence</div></div>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic