Questions tagged [http-status-code-204]

The HTTP response status code 204 No Content

The server has successfully fulfilled the request and that there is no additional content to send in the response payload body.

68 questions
0
votes
1 answer

How to make test code for HTTP 204 No Content in Android, Rx

I am developing an android app using Kotlin, RxJava, and Retrofit. I am sending a request to delete a resource. HTTP - DELETE And the response is 204 No Content. My retrofit code is below: @DELETE("res/{resId}") fun deleteJob(@Path("resId") resId:…
yoonhok
  • 2,575
  • 2
  • 30
  • 58
0
votes
1 answer

iOS devices with browsers such as Chrome can't handle a 204 response. For my Flask app, what alternatives do I have?

I noticed that my Flask app when accessed via Chrome on an iOS device cannot handle an empty response, return 204, correctly. It redirects to a blank page. The intention (as it works on Android and a Windows desktop with any modern browser) is to…
user1995565
  • 165
  • 1
  • 10
0
votes
0 answers

Scrapy Response 204 No-Content

I have a scrapy spider which was working as expected for a while, but now returning empty response. class BossSpider(scrapy.Spider): name = 'bossaz' allowed_domains = ['boss.az'] start_urls = ['https://boss.az/vacancies'] def…
Elgin Cahangirov
  • 1,932
  • 4
  • 24
  • 45
0
votes
1 answer

Rails 5 204 No Content

No template found for ChefsController#create, rendering head :no_content Completed 204 No Content This is an issue in Rails 5 that helps with APIs I've seen this post and several others but I am still…
jendiamond
  • 69
  • 7
0
votes
1 answer

How does browser caching handle hotlinked images + 204 responses?

I've seen a few conflicting answers across the net and I'm trying to understand this at a fundamental level. Say I have an image hotlinked (yes, with permission) on my site: Assuming all relevant parties…
PercentSharp
  • 486
  • 1
  • 5
  • 16
0
votes
1 answer

Beacon tracking image with 204 response & callback function

I have been trying for a few days now to convert my tracking pixel JS functionality to use a 204 "no_content" response. I can easily get this working, but I need to be able to fire a callback function afterwards. The following doesn't seem to ever…
0
votes
1 answer

How to detect 204 No Content from Android Volley Request

When i request to my api api returns 204 - No Content. But volley does not recognise that and give TimeOutError. How can i handle this ?
Arda Kaplan
  • 1,720
  • 1
  • 15
  • 23
0
votes
3 answers

Java: Internet connectivity check via ping to google not working

I am using the following code to check internet connectivity: try { HttpURLConnection httpConnection = (HttpURLConnection) (new URL("http://clients3.google.com/generate_204").openConnection()); …
Sunny
  • 7,444
  • 22
  • 63
  • 104
1 2 3 4
5