-
Updated
Sep 28, 2020 - JavaScript
HTTP
HTTP (Hypertext Transfer Protocol) is a request and response protocol used to send a request to a server and receive a response back in the form of a file. HTTP is the basis of data communication for the web. HTTPS is an evolution in HTTP, where the “S” stands for secure socket layer allowing communication in HTTP to be more secure.
Here are 1,286 public repositories matching this topic...
Add a changelog
As we attempt to pick up the release cadence, we are in need of an explicit changelog file which enumerates changes in each version. This should be a markdown or plaintext file adhering to some form of standardized format. Ideally, it will be able to work with #582.
-
Updated
Oct 2, 2020 - JavaScript
node-fetch currently completely ignoring Content-Length header while consuming response.
Fetch specification about handling Content-Length on server response says almost nothing:
https://fetch.spec.whatwg.org/#concept-http-network-fetch (see whatwg/fetch#67)
On other hand, we have a fetch-node specific extension to limit the size of the response.
My prop
-
Updated
Jul 5, 2020 - JavaScript
-
Updated
Oct 2, 2020 - JavaScript
-
Updated
Sep 15, 2020 - JavaScript
At the moment MockIt supports
export const StatusCodes = {
OK: "200",
CREATED: "201",
NO_CONTENT: "204",
BAD_REQUEST: "400",
FORBIDDEN: "401",
INTERNAL_SERVER_ERROR: "500"
};
Might be worth adding some more? https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
If anybody is up for the challenge :)?
-
Updated
Oct 1, 2020 - JavaScript
-
Updated
Aug 18, 2020 - JavaScript
-
Updated
Sep 18, 2020 - JavaScript
-
Updated
May 25, 2020 - JavaScript
-
Updated
Jul 26, 2020 - JavaScript
-
Updated
Jul 30, 2020 - JavaScript
-
Updated
Mar 9, 2020 - JavaScript
-
Updated
Jan 30, 2019 - JavaScript
-
Updated
Dec 24, 2019 - JavaScript
-
Updated
Aug 24, 2020 - JavaScript
-
Updated
Sep 12, 2020 - JavaScript
-
Updated
Jul 24, 2020 - JavaScript
-
Updated
Sep 22, 2020 - JavaScript
Context
This isn't really a feature request, as what I need is possible with nock as-is. But I spent several hours searching, reading old issues and searching through the source code to find the solution, so I thought this might help others.
I am testing code that accesses a service that sets the statusMessage of the response, as well as the statusCode. I am using nock to mock the server