This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24068 - Excessive requests message delivered as text/plain, 200 OK.
Summary: Excessive requests message delivered as text/plain, 200 OK.
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: Website (show other bugs)
Version: HEAD
Hardware: PC Linux
: P2 minor
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2013-12-12 01:53 UTC by Peter Oliver
Modified: 2018-05-09 20:10 UTC (History)
0 users

See Also:
jordancarrillo530: needinfo+


Description Peter Oliver 2013-12-12 01:53:20 UTC
When posting to, if a number a requests have been made recently then the "Status: 403 Forbidden" header incorrectly appears in the body of the reply, not the head:

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xml:lang="en" lang="en">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
                <title>W3C Validator - Excessive Use</title>
    <link rev="made" href="" />
    <link rev="start" href="/" title="Home Page" />
    <style type="text/css" media="all">@import "/style/base";
            @import "/style/results";</style>
    <style type="text/css">
      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; }

    <div id="banner">
     <h1 id="title">
       <a href=""><img alt="W3C" width="110" height="61" id="logo" src="/images/w3c.png" /></a>
                        <a href="/"><span>Markup Validation Service</span></a>

       <p id="tagline">Check the markup (HTML, XHTML) of Web documents</p>

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