Skip to content

AuHau/nim-http204-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Presto/HTTPClient library HTTP 204 bug

This is reproduction repository for bug which happens for nim-presto and the Nim's HTTPClient.

It happens when the server returns HTTP 204 empty response (that is correctly received etc.), but the next GET request will fail with Connection was closed before full request has been made

To reproduce

$ nimble server

# in different terminal
$ nimble test

[Suite] http 204 request/response
  [OK] ping-pong
    Unhandled exception: Connection was closed before full request has been made [ProtocolError]
  [FAILED] 204

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages