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

  • SEARCH
  • Home
  • 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 6765313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:41:51+00:00 2026-05-26T14:41:51+00:00

headers_list() and apache_reponse_headers() return a greatly reduced list of the actual response headers, even

  • 0

headers_list() and apache_reponse_headers() return a greatly reduced list of the actual response headers, even after headers_sent() and get_headers() would make another HTTP request.

So, how can you get the complete list of response headers that are to be sent with the current page, or are these additional response headers, as set by the server, only set long after PHP has finished?

  • 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-26T14:41:52+00:00Added an answer on May 26, 2026 at 2:41 pm

    The hosting webserver is free to add headers. For example, it may transparently compress php’s output, set Strict-Transport-Security headers, and so on. In some setups (for example wikimedia’s), the request is also proxied by another HTTP server on another machine to allow caching.

    Therefore, there is no way to get the complete list of sent HTTP headers. Why would you want to have that anyway?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to make own contact list, where i want to put section headers.
In view: return render_to_response('template.html', {'headers': list(sort_headers.headers()) }, context_instance=RequestContext(request)) In template: {{ headers }} <br
I have a simple accordion type page containing a list of H3 headers and
I have multiple column headers that spans of multiple column and I would like
I have the following files: listDriverTest.cpp src/List.cpp headers/List.h The include in List.cpp is #include
I am including several STL headers such as list and vector in all my
Is there a simple way to add Section headers to a list view. I've
My list is nested under two headers and I don't know how to access
Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/storeadmin/inventory_list.php:68)
Header file: // pe10-8arr.h -- header file for a simple list class #ifndef SIMPLEST_

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.