Bug #3155
closedAllowing Get request with request body(ignore request body and return response)
Description
Hi All,
As of now it's returning bad request when we give get request with request body as per
https://github.com/lighttpd/lighttpd2/blob/master/src/main/request.c#L281
Based on earlier post https://redmine.lighttpd.net/boards/2/topics/3346, it's discussed to raise as bug report and no updates in that thread
Is there any plan to ignore request body for Get request and return response instead of bas request?
If not can I get details about RFC which support this design
Thanks,
Mani
Updated by gstrauss over 2 years ago
- Category deleted (
core) - Status changed from New to Invalid
- Priority changed from Normal to Low
- Target version deleted (
1.4.xx)
You linked to a forum post from 12 years ago: https://redmine.lighttpd.net/boards/2/topics/3346
Please ask questions in the forums.
Please read the lighttpd documentation (which answers your question) before posting in the forums. server.http-parseopts
Updated by gstrauss over 2 years ago
You (incorrectly) posted a bug report for lighttpd 1.4 to ask a question (also incorrect for the bug tracker) about lighttpd2 (?)
The code link in your original post is to lighttpd2 source code, not lighttpd 1.4 source code.
Please begin at WikiStart
Updated by plmanikandan over 2 years ago
Thanks gstrauss and sorry for referring lighttpd2 link mistakenly. I checked from https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/master/entry/src/request.c#L1237 and it was handled with HTTP_PARSEOPT_METHOD_GET_BODY option. We will enable server.http-parseopts = ( "method-get-body" => "enable", ... ) to ignore request body in get request. Thanks for your immediate support
Thanks,
Mani
Also available in: Atom