Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7036727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:27:31+00:00 2026-05-28T01:27:31+00:00

How can I answer a 204 No Content http response with classic ASP ?

  • 0

How can I answer a “204 No Content” http response with classic ASP ?

When I simply send an empty response with the following code :

Response.Clear
Response.End

I style get an answer on the client-side. IE9 open a window with an empty (but valide) html file.

I just need to know how to properly return a 204 from an ASP page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:27:32+00:00Added an answer on May 28, 2026 at 1:27 am

    204 isn’t an error. It’s an indication of a successful request, but simply without a response. (Think of it like the HTTP equivalent of the void return type for a method.)

    Are you sending a 204 to your client? From the code shown I would guess what you’re actually sending is a 200 response with no content, which is not the same thing. If that’s the case, the web browser is behaving correctly by displaying the (lack of) content being returned.

    Edit: Re-reading your question, are you asking how to properly return a 204 from an ASP page? It wasn’t clear at first. If that’s the case, take a look at the Response object. Specifically, for the Status property:

    A string which specifies the value of status line of the server. It is included in HTTP headers of the response. This string should contain both three digit code and a brief explanation for it e.g. "404 File Not Found".

    In this case, try:

    Response.Status = "204 No Content"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

somebody can answer me why occur this problem? With the following code my site
I know I can answer this question easily for myself by generatin the code
I was hoping if anyone can answer a fundamental question that I have regarding
I'm hoping someone here can answer these definitively: Does putting a VHD file in
Note This is not a REBOL-specific question. You can answer it in any language.
Someone can please answer to me, if have any Editor or Compiler to C
Also can you please answer this question? how do I get co-ordinates of selected
Hoping someone can provide an answer with this, although it's not 100% programming related.
This is a further question based on this answer: How can I implement a
Can anybody have good answer when should be database driven development be used and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.