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:  Sam Lee <samlee>
Submitted:  Sat 04 Jun 2022 06:27:05 AM UTC
Category:  scmutils Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


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.

Sam Lee <samlee>
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

Sam Lee <samlee>


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

Attach Files:

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 samlee (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.





    No changes have been made to this item

    Back to the top

    Powered by Savane 3.9