123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264(*----------------------------------------------------------------------------
* Copyright (c) 2019 António Nuno Monteiro
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*---------------------------------------------------------------------------*)(* (partially) generated by util/gen_static.ml *)moduleTokenIndices=structletauthority=0let_method=1letpath=3letscheme=5letstatus=7letaccept_charset=14letaccept_encoding=15letaccept_language=16letaccept_ranges=17letaccept=18letaccess_control_allow_origin=19letage=20letallow=21letauthorization=22letcache_control=23letcontent_disposition=24letcontent_encoding=25letcontent_language=26letcontent_length=27letcontent_location=28letcontent_range=29letcontent_type=30letcookie=31letdate=32letetag=33letexpect=34letexpires=35letfrom=36lethost=37letif_match=38letif_modified_since=39letif_none_match=40letif_range=41letif_unmodified_since=42letlast_modified=43letlink=44letlocation=45letmax_forwards=46letproxy_authenticate=47letproxy_authorization=48letrange=49letreferer=50letrefresh=51letretry_after=52letserver=53letset_cookie=54letstrict_transport_security=55lettransfer_encoding=56letuser_agent=57letvary=58letvia=59letwww_authenticate=60endlettable_size=61lettable=[|":authority","";":method","GET";":method","POST";":path","/";":path","/index.html";":scheme","http";":scheme","https";":status","200";":status","204";":status","206";":status","304";":status","400";":status","404";":status","500";"accept-charset","";"accept-encoding","gzip, deflate";"accept-language","";"accept-ranges","";"accept","";"access-control-allow-origin","";"age","";"allow","";"authorization","";"cache-control","";"content-disposition","";"content-encoding","";"content-language","";"content-length","";"content-location","";"content-range","";"content-type","";"cookie","";"date","";"etag","";"expect","";"expires","";"from","";"host","";"if-match","";"if-modified-since","";"if-none-match","";"if-range","";"if-unmodified-since","";"last-modified","";"link","";"location","";"max-forwards","";"proxy-authenticate","";"proxy-authorization","";"range","";"referer","";"refresh","";"retry-after","";"server","";"set-cookie","";"strict-transport-security","";"transfer-encoding","";"user-agent","";"vary","";"via","";"www-authenticate",""|]letlookup_token_indexname=matchString.lengthnamewith|3->(matchString.unsafe_getname0with|'a'whenname="age"->20|'v'whenname="via"->59|_->-1)|4->(matchString.unsafe_getname0with|'d'whenname="date"->32|'e'whenname="etag"->33|'f'whenname="from"->36|'h'whenname="host"->37|'l'whenname="link"->44|'v'whenname="vary"->58|_->-1)|5->(matchString.unsafe_getname0with|':'whenname=":path"->3|'a'whenname="allow"->21|'r'whenname="range"->49|_->-1)|6->(matchString.unsafe_getname0with|'a'whenname="accept"->18|'c'whenname="cookie"->31|'e'whenname="expect"->34|'s'whenname="server"->53|_->-1)|7->(matchname.[3]with|'t'whenname=":method"->1|'h'whenname=":scheme"->5|'a'whenname=":status"->7|'i'whenname="expires"->35|'e'whenname="referer"->50|'r'whenname="refresh"->51|_->-1)|8->(matchname.[3]with|'m'whenname="if-match"->38|'r'whenname="if-range"->41|'a'whenname="location"->45|_->-1)|10->(matchString.unsafe_getname0with|':'whenname=":authority"->0|'s'whenname="set-cookie"->54|'u'whenname="user-agent"->57|_->-1)|11->(matchString.unsafe_getname0with|'r'whenname="retry-after"->52|_->-1)|12->(matchString.unsafe_getname0with|'c'whenname="content-type"->30|'m'whenname="max-forwards"->46|_->-1)|13->(matchname.[6]with|'-'whenname="accept-ranges"->17|'i'whenname="authorization"->22|'c'whenname="cache-control"->23|'t'whenname="content-range"->29|'e'whenname="if-none-match"->40|'o'whenname="last-modified"->43|_->-1)|14->(matchString.unsafe_getname0with|'a'whenname="accept-charset"->14|'c'whenname="content-length"->27|_->-1)|15->(matchname.[7]with|'e'whenname="accept-encoding"->15|'l'whenname="accept-language"->16|_->-1)|16->(matchname.[11]with|'o'whenname="content-encoding"->25|'g'whenname="content-language"->26|'a'whenname="content-location"->28|'i'whenname="www-authenticate"->60|_->-1)|17->(matchString.unsafe_getname0with|'i'whenname="if-modified-since"->39|'t'whenname="transfer-encoding"->56|_->-1)|18->(matchString.unsafe_getname0with|'p'whenname="proxy-authenticate"->47|_->-1)|19->(matchString.unsafe_getname0with|'c'whenname="content-disposition"->24|'i'whenname="if-unmodified-since"->42|'p'whenname="proxy-authorization"->48|_->-1)|25->(matchString.unsafe_getname0with|'s'whenname="strict-transport-security"->55|_->-1)|27->(matchString.unsafe_getname0with|'a'whenname="access-control-allow-origin"->19|_->-1)|_->-1