<div dir="ltr">Hi, when I try to sent a request to <div><br><div><span style="font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap"><a href="http://api.gbif.org/v1/species?name=Allium%20Sativum&limit=1&callback=jQuery214020442963019013405_1445525943637&_=1445525943638">http://api.gbif.org/v1/species?name=Allium%20Sativum&limit=1&callback=jQuery214020442963019013405_1445525943637&_=1445525943638</a> </span></div><div><span style="font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap"><br></span></div><div><span style="font-family:Consolas,'Lucida Console',monospace;font-size:12px;white-space:pre-wrap">from browser which has Language option in español(Latinoamerica) this send </span><div class="" style="font-family:'Segoe UI',Tahoma,sans-serif;font-size:12px;min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Accept-Language:</div><div class="" style="font-size:12px;min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">en-US,en;q=0.8,es;q=0.6,es-419;q=0.4 in the headers, then I recive a 400 Bad Request. This only happend when I have this language option.</div></div><div><font face="Consolas, Lucida Console, monospace"><span style="font-size:12px;white-space:pre-wrap"><br></span></font></div><div><font face="Consolas, Lucida Console, monospace"><span style="font-size:12px;white-space:pre-wrap">With español(Latinoamerica)</span></font></div><div><font face="Consolas, Lucida Console, monospace"><span style="font-size:12px;white-space:pre-wrap">General</span></font></div><div><ol class="" style="min-width:0px;min-height:0px;padding:0px 0px 0px 4px;margin:0px;list-style-type:none;font-size:12px"><ol class="" style="font-family:'Segoe UI',Tahoma,sans-serif;min-width:0px;min-height:0px;list-style-type:none;padding-left:12px;padding-bottom:5px"><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Request URL:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px"><a href="http://api.gbif.org/v1/species?name=Allium%20Sativum&limit=1&callback=jQuery214020442963019013405_1445525943637&_=1445525943638">http://api.gbif.org/v1/species?name=Allium%20Sativum&limit=1&callback=jQuery214020442963019013405_1445525943637&_=1445525943638</a></div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Request Method:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">GET</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Status Code:</div><label class="" style="min-width:0px;min-height:0px;margin-right:3px"><div class="" style="min-width:0px;min-height:0px;width:10px;height:10px;margin-right:2px;display:inline-block;background-image:url("Images/toolbarButtonGlyphs.png")"></div></label><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">400 Bad Request</div></li><li class="" style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Remote Address:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px"><a href="http://130.226.238.135:80">130.226.238.135:80</a></div></li></ol><li class="" style="font-family:'Segoe UI',Tahoma,sans-serif;min-width:0px;min-height:0px;text-overflow:ellipsis;white-space:nowrap;font-weight:bold;color:rgb(97,97,97);height:20px;border-top-style:solid;border-top-width:1px;border-top-color:rgb(224,224,224);display:flex">Response Headers<span class="" style="min-width:0px;min-height:0px;display:inline;margin-left:30px;font-weight:normal;color:rgb(115,115,115)">view source</span></li><ol class="" style="font-family:'Segoe UI',Tahoma,sans-serif;min-width:0px;min-height:0px;list-style-type:none;padding-left:12px;padding-bottom:5px"><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Accept-Ranges:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">bytes</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Access-Control-Allow-Origin:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">*</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Age:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">0</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Connection:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">keep-alive</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Content-Length:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">72</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Content-Type:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">text/plain</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Date:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">Thu, 22 Oct 2015 14:59:13 GMT</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Server:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">Jetty(9.2.z-SNAPSHOT)</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Via:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">1.1 varnish</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">x-api-url:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">/v1/species?name=Allium%20Sativum&limit=1&callback=jQuery214020442963019013405_1445525943637&_=1445525943638</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">X-Varnish:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">282045222</div></li></ol><li class="" style="font-family:'Segoe UI',Tahoma,sans-serif;min-width:0px;min-height:0px;text-overflow:ellipsis;white-space:nowrap;font-weight:bold;color:rgb(97,97,97);height:20px;border-top-style:solid;border-top-width:1px;border-top-color:rgb(224,224,224);display:flex">Request Headers<span class="" style="min-width:0px;min-height:0px;display:inline;margin-left:30px;font-weight:normal;color:rgb(115,115,115)">view source</span></li><ol class="" style="font-family:'Segoe UI',Tahoma,sans-serif;min-width:0px;min-height:0px;list-style-type:none;padding-left:12px;padding-bottom:5px"><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Accept:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">*/*</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Accept-Encoding:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">gzip, deflate, sdch</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Accept-Language:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">en-US,en;q=0.8,es;q=0.6,es-419;q=0.4</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Connection:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">keep-alive</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Host:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px"><a href="http://api.gbif.org">api.gbif.org</a></div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Referer:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px"><a href="http://192.168.206.86:7000/?taxonRecordName=Allium+Sativum&abstract=">http://192.168.206.86:7000/?taxonRecordName=Allium+Sativum&abstract=</a></div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">User-Agent:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2537.0 Safari/537.36</div></li></ol><li class="" style="font-family:'Segoe UI',Tahoma,sans-serif;min-width:0px;min-height:0px;text-overflow:ellipsis;white-space:nowrap;font-weight:bold;color:rgb(97,97,97);height:20px;border-top-style:solid;border-top-width:1px;border-top-color:rgb(224,224,224);display:flex">Query String Parameters<span class="" style="min-width:0px;min-height:0px;display:inline;margin-left:30px;font-weight:normal;color:rgb(115,115,115)">view source</span><span class="" style="min-width:0px;min-height:0px;display:inline;margin-left:30px;font-weight:normal;color:rgb(115,115,115)">view URL encoded</span></li><ol class="" style="font-family:'Segoe UI',Tahoma,sans-serif;min-width:0px;min-height:0px;list-style-type:none;padding-left:12px;padding-bottom:5px"><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">name:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">Allium Sativum</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">limit:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">1</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">callback:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">jQuery214020442963019013405_1445525943637</div></li><li style="min-width:0px;min-height:0px;margin-top:1px;text-overflow:ellipsis;white-space:nowrap;margin-left:10px"><div class="" style="min-width:0px;min-height:0px;color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">_:</div><div class="" style="min-width:0px;min-height:0px;font-family:Consolas,'Lucida Console',monospace;white-space:pre-wrap;display:inline;margin-right:1em;margin-top:1px">1445525943638</div></li></ol></ol><div><font face="Consolas, Lucida Console, monospace"><span style="font-size:12px;white-space:pre-wrap">Without español(Latinoamerica)</span></font></div><div><font face="Consolas, Lucida Console, monospace"><span style="font-size:12px;white-space:pre-wrap"><br></span></font></div><div><font face="Consolas, Lucida Console, monospace"><span style="font-size:12px;white-space:pre-wrap">General</span></font></div><div><font face="Consolas, Lucida Console, monospace"><div style=""><span style="font-size:12px;white-space:pre-wrap">Remote Address:<a href="http://130.226.238.135:80">130.226.238.135:80</a>
Request URL:<a href="http://api.gbif.org/v1/species?name=Allium%20Sativum&limit=1&callback=jQuery21406685116644948721_1445532365523&_=1445532365524">http://api.gbif.org/v1/species?name=Allium%20Sativum&limit=1&callback=jQuery21406685116644948721_1445532365523&_=1445532365524</a>
Request Method:GET
Status Code:200 OK
Response Headers
view source
Accept-Ranges:bytes
Access-Control-Allow-Origin:*
Age:0
Connection:keep-alive
Content-Length:1031
Content-Type:application/javascript
Date:Thu, 22 Oct 2015 16:46:26 GMT
Server:Jetty(9.2.z-SNAPSHOT)
Via:1.1 varnish
x-api-url:/v1/species?name=Allium%20Sativum&limit=1&callback=jQuery21406685116644948721_1445532365523&_=1445532365524
X-Varnish:282682159
Request Headers
view source
Accept:*/*
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8,es;q=0.6
Connection:keep-alive
Host:<a href="http://api.gbif.org">api.gbif.org</a>
Referer:<a href="http://localhost:7000/
User-Agent:Mozilla/5.0">http://localhost:7000/
User-Agent:Mozilla/5.0</a> (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/41.0.2272.76 Chrome/41.0.2272.76 Safari/537.36
Query String Parameters
view source
view URL encoded
name:Allium Sativum
limit:1
callback:jQuery21406685116644948721_1445532365523
_:1445532365524</span></div></font></div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><table width="800" border="0" cellpadding="0" cellspacing="0" style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><tbody><tr><td width="140" align="center"><div style="color:rgb(34,34,34);font-size:13px;text-align:start"><div dir="ltr"><table width="800" border="0" cellpadding="0" cellspacing="0"><tbody><tr style="color:rgb(0,0,0);font-family:Times;font-size:medium"><td width="299" align="center"><img src="http://www.humboldt.org.co/correos/firma_correos/2014/lfirm.jpg"><br></td><td width="660"><table width="655" height="148" border="0" align="right" cellpadding="0" cellspacing="0" background="http://www.humboldt.org.co/correos/firma_correos/Fondo2014_s.jpg"><tbody><tr><td width="15" valign="top"> </td><td width="630" valign="top"><font face="Arial, Helvetica, sans-serif" size="3" color="#65854e"><strong>María Fernanda Cubillos Vargas<br></strong></font><font face="Arial, Helvetica, sans-serif" color="#65854e">Investigadora Asistente - Sistema de Información sobre Biodiversidad de Colombia (SIB Colombia)</font><p style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:rgb(154,188,100);margin-top:8px"><strong>Instituto de Investigación de Recursos Biológicos<br>Alexander von Humboldt<br></strong><strong style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:medium"><font color="#9abc64" face="Arial, Helvetica, sans-serif"><span style="font-size:12px">Avenida Paseo Bolivar (Circunvalar) 16-20 </span></font></strong><strong><br>PBX: <a value="+15713202767" style="color:rgb(17,85,204)">(57) 1 320 2767 Ext. 1154</a><br>Bogotá, D.C., Colombia</strong></p></td></tr></tbody></table></td></tr><tr style="color:rgb(0,0,0);font-family:Times;font-size:medium"><td colspan="2"><table width="99%" border="0" align="center"><tbody><tr><td width="98%"><span style="color:rgb(154,188,100);font-family:Arial,Helvetica,sans-serif">Antes de imprimir este mensaje, piensa si realmente necesitas hacerlo. ¡Gracias!<br></span></td></tr></tbody></table></td></tr></tbody></table></div></div><br></td><td width="660" colspan="2"><table width="655" height="157" border="0" align="right" cellpadding="0" cellspacing="0" background="http://www.humboldt.org.co/correos/firma_correos/fondo.png"><tbody><tr><td width="15" valign="top"></td><td width="630" height="55" valign="top"> <br></td></tr><tr><td valign="top"> </td><td valign="top"><br></td></tr></tbody></table></td></tr><tr bgcolor="#388836"><td colspan="3" bgcolor="#388836"></td></tr><tr><td colspan="3"><br></td></tr></tbody></table></div></div></div></div></div></div>
</div></div></div></div>