bugMIT/GNU Scheme - Bugs: bug #62582, read-http-request will fail on...

 
 

bug #62582: read-http-request will fail on almost all GET requests

Submitter:  - <_314975>
Submitted:  Sat 04 Jun 2022 06:27:05 AM UTC
   
 
Category:  scmutils Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  Fixed Privacy:  Public
Assigned to:  cph Originator Name: 
Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 04 Jun 2022 06:30:37 AM UTC, comment #1: 

I selected the wrong category for this bug report. This bug report should be in the "runtime" category rather than the "scmutils" category. Sorry about that.

- <_314975>
Sat 04 Jun 2022 06:27:05 AM UTC, original submission:  

Most HTTP GET requests do not have a body, and hence do have a "Content-Length" header (RFC 7230: "A user agent SHOULD NOT send a Content-Length header field when the request message does not contain a payload body ..."). However, MIT Scheme's `read-http-request` procedure expects a "Content-Length" header and will fail with an error "Unable to determine HTTP message body length" when it tries to read a typical GET request (which has no body). `read-http-request` should be fixed to support typical GET requests.

MIT Scheme version: 11.2

- <_314975>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cph (Updated the item)
  • -email is unavailable- added by _314975 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-05 cph StatusNone Fixed
        Assigned toNone cph
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code