Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Suggestion: Add CP Web Server to HTTP Headers

Suggestion: Add CP Web Server to HTTP Headers

Scheduled Pinned Locked Moved Site Bugs / Suggestions
htmlsysadminagentic-aihelptutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeffrey Walton
    wrote on last edited by
    #1

    Hi Chris, I'm working with a small program to tear html pages (you will see it in your logs as 'User-Agent: html page tear-ror'. Would it be possible to have the web servers add their identity to the headers? For example X-Server: Web16. I'm finding some inconsistencies at times with served pages. When an issue is encountered, I dump the response-header and discard the message-body. I discard the body because the issue lies with the Content-Length field. I'd like to discuss what I am seeing and offer up the offending server. Jeff

    J H 2 Replies Last reply
    0
    • J Jeffrey Walton

      Hi Chris, I'm working with a small program to tear html pages (you will see it in your logs as 'User-Agent: html page tear-ror'. Would it be possible to have the web servers add their identity to the headers? For example X-Server: Web16. I'm finding some inconsistencies at times with served pages. When an issue is encountered, I dump the response-header and discard the message-body. I discard the body because the issue lies with the Content-Length field. I'd like to discuss what I am seeing and offer up the offending server. Jeff

      J Offline
      J Offline
      Jeffrey Walton
      wrote on last edited by
      #2

      Jeffrey Walton wrote:

      I'm finding some inconsistencies at times with served pages ... the issue lies with the Content-Length field.

      I was observing it near constantly yesterday. But I have have not observed it today.

      1 Reply Last reply
      0
      • J Jeffrey Walton

        Hi Chris, I'm working with a small program to tear html pages (you will see it in your logs as 'User-Agent: html page tear-ror'. Would it be possible to have the web servers add their identity to the headers? For example X-Server: Web16. I'm finding some inconsistencies at times with served pages. When an issue is encountered, I dump the response-header and discard the message-body. I discard the body because the issue lies with the Content-Length field. I'd like to discuss what I am seeing and offer up the offending server. Jeff

        H Offline
        H Offline
        Hans Dietrich
        wrote on last edited by
        #3

        Hi Jeff, Haven't seen you for a while. You will find server id on the last line of each page, for both forums and article pages. It will appear like "web18".

        Best wishes, Hans


        [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

        J 1 Reply Last reply
        0
        • H Hans Dietrich

          Hi Jeff, Haven't seen you for a while. You will find server id on the last line of each page, for both forums and article pages. It will appear like "web18".

          Best wishes, Hans


          [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

          J Offline
          J Offline
          Jeffrey Walton
          wrote on last edited by
          #4

          Hi Hans,

          Hans Dietrich wrote:

          Haven't seen you for a while.

          I've missed my pet programming projects :). I'm putting finishing touches on a TCP/IP/HTTP/Wireshark article. It's a warmup to something more interesting (IMHO).

          Hans Dietrich wrote:

          You will find server id on the last line of each page

          Yep... unfortunately I will not parse it if Content-Length is not correct (plus it is tough to fish out down there). Web browsers allow a lot of slop - I prefer not. I can trade a couple of extra cookies in my current response-headers. Jeff

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups