patchcgicc - Patches: patch #7845, HTTP PUT method support


You are not allowed to post comments on this tracker with your current authentication level.

patch #7845: HTTP PUT method support

Submitted by:  Yury Knigin <yknigin>
Submitted on:  Fri 07 Sep 2012 01:24:15 PM UTC  
Category: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Fri 07 Sep 2012 01:24:15 PM UTC, original submission:

According to a <a href="">documentation</a> HTTP PUT method data should be passed to CGI script:

<q>For HTTP POST or PUT queries, the HTTP server communicates information to the CGI script via standard input. The amount of information written to standard input is stored in the CONTENT_LENGTH environment variable.</q>

But there's no handling for PUT method in CgiEnvironment.cpp and cgicc::CgiEnvironment::getPostData returns empty string.

This is simple fix to add HTTP PUT method support.

Yury Knigin <yknigin>


Attached Files
file #26494:  PUT_METHOD_INPUT_DATA.patch added by yknigin (2KiB - text/x-patch - Patch and patched CgiEnvironment.cpp file)
file #26495:  CgiEnvironment.cpp added by yknigin (11KiB - text/x-c++src - Patch and patched CgiEnvironment.cpp file)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by yknigin (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 07 Dec 2014 02:19:17 PM UTCsebdiazStatusNone=>Done
    Fri 07 Sep 2012 01:24:15 PM UTCykniginAttached File-=>Added PUT_METHOD_INPUT_DATA.patch, #26494
      Attached File-=>Added CgiEnvironment.cpp, #26495

    Back to the top

    Powered by Savane 3.1-cleanup1