Skip to content

sheophe/httphandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Handler module

This module implements http.Handler interface. It accepts requests with the list of endpoints to fetch. The list of response sizes for each endpoint is returned. Duplicate endpoints are only fetched once. If the number of concurrent incoming requests exceeds 100 then 429 Too Many Requests error is returned.

Status codes

Code Body Condition
200 List of response sizes for each of the requests endpoints (not sorted) All requested endpoints have responded
207 List of response sizes for each of the requests endpoints (not sorted). If an endpoint did not respond, -1 is written to the list Some of the requested endpoints did not respond
400 There is at least one invalid endpoint in the requested list
405 Unsupported method. Only POST is supported
408 None of the requested endpoints have responded
429 Concurrent request limit (100) is reached

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages