http-status Questions

2

Here is my request URL: http://server.com/app/user/getuser/?userId=9999 Note that userId is query parameter. Not embedded path parameter. I understand that if the request URL is: http://server.com/...

5

Solved

spending some time studying pycurl and libcurl documentation, i still can't find a (simple) way, how to get HTTP status message (reason-phrase) in pycurl. status code is easy: import pycurl impor...
Ligule asked 27/4, 2010 at 18:2

1

Solved

In my NestJs project, I am using decorator @Res() res and using the response object to set custom response header status by multiple cases. When calling, sometimes it logs: Error [ERR_HTTP_HEADERS_...
Touslesmois asked 6/9, 2021 at 12:17

1

Concept: I have an application that allows users post a question... When the user clicks the Ask button i trying to submit the the quesiton using Vue.js and Axios. Problem: 70% of the time the qu...
Practicable asked 20/11, 2017 at 12:17

3

Solved

In proper usage of REST, what is suitable the HTTP status code when request is successful but has warning messages? In our case; clients are web applications running on browsers. We prefer status ...
Waisted asked 29/2, 2016 at 7:48

1

Solved

From List of HTTP status code (Wikipedia) it says: 409 Conflict Indicates that the request could not be processed because of conflict in the request, such as an edit conflict between multiple sim...
Xeroderma asked 6/7, 2017 at 10:32

1

Solved

I am unsure what http status code to return when a customer calls my API, but the requested action cannot be completed for reasons that the customer can fix. In this case, the http request itself ...
Newcastle asked 15/3, 2016 at 19:17

1

I have some method in before_filter and I try to render status: 403. then I get: Missing template v1/examples/index, v1/base/index, application/index with {:locale=>[:en], :formats=>[:html, ...

1

Solved

Using .htaccess and ErrorDocument 404 /error.php, if access an invalid url eg.: http://example/css/invalid-file.css: <?php echo 'REDIRECT_STATUS: ', $_SERVER['REDIRECT_STATUS'], PHP_EOL, 'REDI...
Dionnadionne asked 4/5, 2015 at 1:45

3

Solved

Here's what I'm trying to accomplish. Let's say I have 100,000 urls stored in a database and I want to check each of these for http status and store that status. I want to be able to do this concur...
Headley asked 28/1, 2011 at 20:53

2

So send a few different status headers in my API including 404, 409, 201, 302 and the like. Now I'm running into issues with 401 Unauthorized. I'm currently sending it if a user is not logged in (t...
Nimocks asked 19/8, 2010 at 22:29
1

© 2022 - 2024 — McMap. All rights reserved.