<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24068</bug_id>
          
          <creation_ts>2013-12-12 01:53:20 +0000</creation_ts>
          <short_desc>Excessive requests message delivered as text/plain, 200 OK.</short_desc>
          <delta_ts>2018-05-09 20:10:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Website</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Oliver">w3.org</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      <flag name="needinfo"
          id="194"
          type_id="3"
          status="+"
          setter="jordancarrillo530"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97485</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Oliver">w3.org</who>
    <bug_when>2013-12-12 01:53:20 +0000</bug_when>
    <thetext>When posting to http://validator.w3.org/check, if a number a requests have been made recently then the &quot;Status: 403 Forbidden&quot; header incorrectly appears in the body of the reply, not the head:

&gt; curl -d &apos;&apos; -v http://validator.w3.org/check
* About to connect() to validator.w3.org port 80 (#0)
*   Trying 128.30.52.91...
* Connected to validator.w3.org (128.30.52.91) port 80 (#0)
&gt; POST /check HTTP/1.1
&gt; User-Agent: curl/7.29.0
&gt; Host: validator.w3.org
&gt; Accept: */*
&gt; Content-Length: 0
&gt; Content-Type: application/x-www-form-urlencoded
&gt; 
&lt; HTTP/1.1 200 OK
&lt; Date: Thu, 12 Dec 2013 01:44:02 GMT
&lt; Server: Apache/2
&lt; Last-Modified: Mon, 04 Nov 2013 10:04:00 GMT
&lt; ETag: &quot;18011-b73-4ea5708f26400&quot;
&lt; Accept-Ranges: bytes
&lt; Content-Length: 2931
&lt; Content-Type: text/plain
&lt; Vary: Accept-Encoding
&lt; Connection: close
&lt; 
Status: 403 Forbidden
Vary: Referer
Content-type: text/html

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
    &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=utf-8&quot; /&gt;
                &lt;title&gt;W3C Validator - Excessive Use&lt;/title&gt;
    &lt;link rev=&quot;made&quot; href=&quot;mailto:www-validator@w3.org&quot; /&gt;
    &lt;link rev=&quot;start&quot; href=&quot;/&quot; title=&quot;Home Page&quot; /&gt;
    &lt;style type=&quot;text/css&quot; media=&quot;all&quot;&gt;@import &quot;/style/base&quot;;
            @import &quot;/style/results&quot;;&lt;/style&gt;
    &lt;style type=&quot;text/css&quot;&gt;
      div#result    { padding-top: 0; }
      div#result h2 { line-height: normal }
      div#result p  { margin: 1em 0em; }
      #vs img       { float: left; margin-right: 20px;  margin-bottom: 10px; }
      address       { clear: both; margin: 24px 32px 0px; padding: 10px 0;
                      border-top-style: solid; border-width: thin; }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;

    &lt;div id=&quot;banner&quot;&gt;
     &lt;h1 id=&quot;title&quot;&gt;
       &lt;a href=&quot;http://www.w3.org/&quot;&gt;&lt;img alt=&quot;W3C&quot; width=&quot;110&quot; height=&quot;61&quot; id=&quot;logo&quot; src=&quot;/images/w3c.png&quot; /&gt;&lt;/a&gt;
                        &lt;a href=&quot;/&quot;&gt;&lt;span&gt;Markup Validation Service&lt;/span&gt;&lt;/a&gt;

       &lt;/h1&gt;
       &lt;p id=&quot;tagline&quot;&gt;Check the markup (HTML, XHTML) of Web documents&lt;/p&gt;
    &lt;/div&gt;

    &lt;div id=&quot;results_container&quot;&gt;
            &lt;div id=&quot;result&quot;&gt;
              &lt;h2 id=&quot;results&quot; class=&quot;invalid&quot;&gt;Sorry! This document can not be checked.&lt;br /&gt;
              &lt;strong&gt;We have received excessive Validation requests originating from your IP address&lt;/strong&gt;&lt;/h2&gt;
        
        &lt;p&gt;
        Please use this free service reasonably. Your IP address will be unblocked automatically after some time.
        &lt;/p&gt;
        &lt;p&gt;
        If you are using a browser plugin that checks every single page you visit, please discontinue using it and only use selectively.
        &lt;/p&gt;
        &lt;p&gt;
        W3C will continue to increase Validator resources and services and onlyimposes restrictions to ensure the service remains available to the community.
        &lt;/p&gt;
        &lt;p id=&quot;vs&quot;&gt;
        &lt;a href=&quot;https://validator-suite.w3.org/&quot; title=&quot;Check your website with the W3C Validator Suite&quot;&gt;&lt;img src=&quot;https://validator-suite.w3.org/icons/vs-blue-256.png&quot; alt=&quot;W3C Validator Suite&quot; /&gt;&lt;/a&gt; If you need more extensive validation services beyond what our free Validator service can accommodate, please consider our premium service, &lt;a href=&quot;https://validator-suite.w3.org/&quot;&gt;W3C Validator Suite&lt;/a&gt;.
        &lt;/p&gt;
      &lt;/div&gt;&lt;!-- result --&gt;
    &lt;/div&gt;&lt;!-- results_container --&gt;
    
    &lt;address&gt;
      &lt;a href=&quot;http://validator.w3.org/check?uri=referer&quot;&gt;&lt;img
        src=&quot;http://www.w3.org/Icons/valid-xhtml10&quot; height=&quot;31&quot; width=&quot;88&quot;
        alt=&quot;Valid XHTML 1.0!&quot; /&gt;&lt;/a&gt;
      &lt;a title=&quot;Send Feedback for the W3C Markup Validation Service&quot;
        href=&quot;/feedback.html&quot;&gt;The W3C Validator Team&lt;/a&gt;&lt;br /&gt;
    &lt;/address&gt;
  &lt;/body&gt;
&lt;/html&gt;
* Closing connection 0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>