-
given the following snippet
```
#!/usr/bin/env php
-
Hey all, perhaps I'm not understanding something here
Using `to`
` const [err, data] = await to(fetch('http://httpstat.us/500'));
console.debug(err, data)
`
Result:
![image](https://user-ima…
-
Develop something like wget/curl but with simpler command line args and some cool stats generation like this:
https://github.com/davecheney/httpstat
A good example of bad parameter is -X for htt…
-
I am not sure if this feature is already released since #10 is still open. However, "record and playback" is present in the main README, so I gave it a shot.
It seems that HTTP status codes are not…
mhaas updated
3 years ago
-
#### Bug Report Checklist
- [x] Have you provided a full/minimal spec to reproduce the issue?
- [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagg…
-
How do I check if the scraped page is an error page?
It would be helpful to have the http status for that - something like
```
$web->go('https://httpstat.us/404');
echo $web->status; // prints…
-
According to
https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.referer?view=netframework-4.8
"If the AllowAutoRedirect property is true, the Referer property is set automatical…
-
It is not clear from the documentation how would one handle errors while attempting to stream.
Consider the following example code
```
const Q = require('q');
const needle = require('needle'…
-
```js
const axiodOrAxios = typeof axiod !== 'undefined' ? axiod : typeof axios !== 'undefined' ? axios : undefined;
const client = axiodOrAxios.create({ baseURL: 'https://httpstat.us' });
let _co…
-
| | |
|------------------|-----------------|
|Previous ID | SR-11602 |
|Radar | None |
|Original Reporter | Sephiroth87 …