bug-mit-scheme
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Sam Lee
Subject: [bug #62582] read-http-request will fail on almost all GET requests
Date: Sat, 4 Jun 2022 02:27:07 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62582>

                 Summary: read-http-request will fail on almost all GET
requests
                 Project: MIT/GNU Scheme
               Submitter: 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: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                Keywords: 


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 04 Jun 2022 06:27:05 AM UTC By: Sam Lee <samlee>
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







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62582>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]