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 7,075 public repositories matching this topic...
When using the url http://docs.python-requests.org/en/latest/
, it redirects to https://2.python-requests.org//en/latest/
(notice the extra / before en
). This causes a HTTP 404.
Expected Result
The redirect should be to https://2.python-requests.org/en/latest/
Actual Result
HTTP 404
Reproduction Steps
Try to visit the latest en documentation for requests using the
(Feature request out of https://caddy.community/t/use-placeholders-in-templates/7697)
I would like to see the ability of using placeholders like {http.error.status_code}
in templates. This would allow us, for example, to create a single custom error page in nginx style. For now we have to create a page for every status code we would like to support (maybe using respond
with include and ar
This is more of a question, as I couldn't find it in the documentation. Does aria2 do any checks when downloading a file from multiple sources to ensure all of them are actually referencing the same file? Some basic checks might be based on comparing: 1) file size, 2) date (might not be consistent or even available), 3) first and last few bytes, 4) small chunk overlap, and compare the small ove
Is your feature request related to a problem? Please describe.
The {{< highlight none >}} :~q:foo:bar {{< / highlight >}}
blocks don't work on GitHub. It's confusing and makes the code examples almost useless on GitHub itself. And also in your code editor if you have Markdown syntax highlighting with embedded highlighting for nested code.
Describe the solution you'd like
It'd be ne
I did this
While investigating a mailing list question I observed that CURLINFO_ACTIVESOCKET does not actually return the active socket until after the transfer is done. This appears to be due to legacy reasons, since it is a replacement for [CURLINFO_LASTSOCKET](https://curl.haxx
Documentation overhaul
Vegeta's documentation today is OK, but it can be substantially improved. This issue is meant to track ideas and needs for better documentation.
examples/
directory
All common (or not so common) recipes and examples ought to be captured in an appropriately named file in the examples/
directory, be they CLI or library related.
The README should be reduc
I can't find any other explanation or formulas for results like median, average, min/max, req/sec in documentation, readme or web page. On the documentation page I tried basic scenario to search result/s and get no relevant page.
I found this question on stackoverflow, so I'm not only one who didn't understand it
https://stackoverflow.com/questions/39665250/locust-result-summary-how-to-underst
-
Updated
May 16, 2020 - JavaScript
-
Updated
May 20, 2020 - Go
Describe the bug
When sanitizing the r.URL.Path by making is absolute it introduces a windows path of D:\... on the requested path, which fails.
Versions
go version 1.14
version of mux in our go.mod is listed as 1.7.4
…
Steps to Reproduce
Use the spa example on a windows box and fetch any file
Expected behavior
To have the file delivered
-
Updated
May 25, 2020 - C++
-
Updated
May 20, 2020 - Shell
The documentation does not make it clear whether
paths of the form:
/prefix:foo
are allowed. These are currently supported by httprouter,
but don't seem quite in the spirit of its simple specification
(you can't have statically defined suffixes for a path element,
so why should you be allowed a statically defined prefix?)
This form:
/prefix*foo
is similarly not specified but i
If you're using proxies with requests-html
and rendering JS
sites is all good. Once you render a website pyppeteer don't know about this proxies and will expose your IP. This is an undesired behavior when scraping with proxies.
The idea is that whenever someone passes in proxies to the session
object or any method call
, make pyppeteer also use these proxies. #265
Long story short
Regression of #1188
Expected behaviour
Tests pass on armv7l
Actual behaviour
Test run fails at test_cookiejar.py:383: OverflowError
Steps to reproduce
Run tests
Your environment
linux 4.19
nixos 20.03
arm v7l
python 3.7
aiohttp client-3.6.2
Log
ts_before = datetime.datetime(
1975, 1, 1, tzinfo=datetim
What is the expected behavior?
If I use
nock('https://example.com/my_url', { reqheader }).log(console.log);
I would expect that a request to https://example.com would be checked against that route and that the logging would show that.
What is the actual behavior?
Nothing is logged to the console if the headers do not match the specified reqheader
This is confusing be
A small pet peeve of mine is that the --ssl
option enables TLS, not SSL. I accept that the tech world uses these related but different terms interchangeably, but I'd rather be more correct by default.
To do:
- Replace the existing
--ssl
option with--tls
.
a. Note that this enables "TLS/SSL" in the documentation so it doesn't confuse people.
b. The short option-S
could stay th
F1 simply prints "11~" in whatever field I have selected.
Debian GNU/Linux 9.5
I always feel bad about my first contact with developers being a bug report or complaint; so I wanted you to know how cool I think this. Thanks for your efforts!
I'm submitting a ...
- bug report
- [ X] feature request
- question
PostGraphile version: 4.4.4
postgraphile should honor variables in query string as defined in https://github.com/graphql/express-graphql#http-usage when the query is provided as post body.
with the following exampl
I'm upgrading a build environment from python 2 to python 3 and noticed that endpoints with seeded random numbers are not returning the same values. It seems to be related to usage of randint:
https://github.com/postmanlabs/httpbin/blob/f8ec666b4d1b654e4ff6aedd356f510dcac09f83/httpbin/core.py#L1448
It seems like randint is not seed safe and it looks like only random() is: https://bugs.python.o
-
Updated
May 23, 2020 - Go
Prerequisites
- I am running the latest version. (
up upgrade
) - I searched to see if the issue already exists.
- I inspected the verbose debug output with the
-v, --verbose
flag. - Are you an Up Pro subscriber?
Description
It would be great to add regex capabilities to redirects like so:
redirects: {
"/folder/:slug(regexhere)": {
"location": "https
Correct the terminology used in code and documentation so that it is consistent with HTTPie and web standards. Examples:
- body parameter -> data field
- operator -> separator
Currently, we ask contributors to strive for consistency with existing code, but it would be helpful to clarify the following regarding docstrings:
- Docstrings should begin with a short (~70 characters or less) summary line that ends in a period.
- The summary line should begin immediately after the opening quotes (do not add a line break before the summary line)
- The summary line should de
Let's support at least reading "b3" header from a single string, most commonly traceid-spanid-1
It would also be nice to support optionally writing this, especially in message providers or others with constrained environments.
Expected behavior
As discussed on openzipkin/b3-propagation#21 and first implemented here: https://github.com/openzipkin/brave/blob/master/brave/src/main/java/bra
I think the docs are a bit thin. Would be nice with a tutorial on how to use the feature that takes advantage of all the options.
The Go documentation states the following on http.Request.RemoteAddr
:
The HTTP server in this package sets RemoteAddr to an "IP:port" address before invoking a handler.
Therefore, you could expect that a code like this is correct:
package main
import (
"fmt"
"net"
"net/http"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
)
func main() {
r
It's not clear from the website's documentation, or the
--help
output, how to do the following equivalent curl task:Post a raw JSON query to ElasticSearch:
T