Questions tagged [http-method]
12 questions
8
votes
2 answers
If I send a HTTP GET request do I receive the response in GET?
This is probably a very basic question so pardon my ignorance
Which method does the server use to respond to the requests it gets?
I am making a web app and there's a certain route which returns a big (say .iso image) file. So when user clicks on a…

RinkyPinku
- 192
- 1
- 1
- 7
2
votes
1 answer
How to use nginx reverse_proxy for PUT requests?
When I use nginx as reverse proxy in front of some other web application, it seems not to forward PUT requests, but shows an HTTP 405 generated by nginx (and not the upstream server).
I tried the proxy_next_upstream method for http_405, but it did…

allo
- 1,620
- 2
- 22
- 39
2
votes
1 answer
Apache and custom HTTP method
Is it possible to make apache accept custom HTTP methods? Say I want to send DESCRIBE method.
I tried enabling it in Limit directive but apache returned 405 method not allowed.
Here is my config, it's in mod_userdir.

Peter
- 405
- 1
- 5
- 8
1
vote
1 answer
Apply location block to alias requests only on HTTP GET requests
I have a web application which is accessed through nginx, which acts as a reverse proxy. However, a subpath of this application is aliased to a directory. The server configuration is as follows:
server {
# ...
location /myapp/files {
…
user175627
1
vote
1 answer
Apache/Tomcat web server: nmap always returns that all http-methods are allowed
I'm running a web server with Apache http server in front of an Apache Tomcat server.
My goal: Disable http-methods DELETE and PUT on the web server.
According to OWASP (https://www.owasp.org/index.php/Test_HTTP_Methods_(OTG-CONFIG-006)) this should…

chloesoe
- 335
- 2
- 17
1
vote
1 answer
Why does my condition on %{REQUEST_METHOD} not appear to work in my apache .conf file
I was trying to whittle down the cases where the Access-Control-Allow-Origin is sent in a response to only some specific scenarios such as only for specific request methods. In this situation we already included the response header on all requests…

jpierson
- 241
- 2
- 8
0
votes
0 answers
Getting no response when using POST method (URGENT)
I have 3 servers svrA, svrB, and svrC.
svrA and svrB need to call a web service (http://example.com/api/consoleServices) hosted in svrC.
Now the issue is sometimes I am able to get the response from svrC in svrA and no response in svrB and then…
user438713
0
votes
2 answers
Nginx not honoring configuration
I have a kubernetes deployment which requires the following configuration:
POST must be allowed from any origin.
GET, HEAD, LIST must be restricted to intranet.
I came up with:
include modules/*.conf;
worker_processes 1;
error_log …

vfbsilva
- 101
- 5
0
votes
0 answers
Disable HTTP PUT and DELETE method in Tomcat 8
i put below code in my web.xml file but it is not working when we hit the url
"http://192.168.50.6:8080/btmu"
restricted methods
…

user1466143
- 1
- 1
- 2
0
votes
2 answers
HAProxy - Redirect scheme to HTTPS by keeping the same HTTP method (POST)
I'm using HAProxy 1.6
I'm forcing https usage. Therefore in my backend I'm redirecting http to https.
For that I'm using the following code:
backend my-app-name
redirect scheme https if !{ ssl_fc }
[...]
This is working well but if my http…

maxime_039
- 243
- 5
- 14
0
votes
1 answer
Method request in nginx
my Nginx report in error log with
2012/07/24 13:00:16 [notice] 19056#0: *3275841 "^(GET|HEAD|POST)$" matches "GET", client: 42.114.191.177, server: _, request: "GET /template/images/loading.gif HTTP/1.1", host: "domain.com", referrer:…

tquang
- 263
- 1
- 6
0
votes
2 answers
Configure Apache httpd to ignore/block a specific HTTP method?
Is it possible to configure Apache httpd to ignore/block a specific HTTP method? If so, how?
I've tried adding the following but it didn't make any difference, non-listed methods still get through:

Pablo Fernandez
- 7,438
- 25
- 71
- 83