Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 654 Bytes

ReadMe.md

File metadata and controls

17 lines (14 loc) · 654 Bytes

HTTP Helper

This package helps in processing and testing HTTP requests.

This package contains various useful functions which help in processing HTTP requests.

  • Receiving an object encoded with JSON format from HTTP request;
  • Replying with an object encoded with JSON format;
  • Replying with a text message with HTTP status code;
  • Replying with an error with HTTP status code;
  • Performing a simple automated HTTP handler test using the built-in test package;
  • Reading a single-value HTTP header;
  • Reading a non-duplicate HTTP "cookie";
  • Parsing the HTTP Accept header.
  • Checking browser (client) support for JSON.