Disable Expect: 100 Continue in Play

691 views Asked by At

I'm working on an app in the Play Framework. Our tests for our scrapers make http requests to the sites from which they're scraping, which works fine on local machines, but when CircleCI tries to run our tests we get

org.jsoup.HttpStatusException: HTTP error fetching URL. Status=417,
URL=http://www.ithaca.com/calendar/search/?advancedFormState=on&unrolled=1&q=&areaSelect=&d=&c%5B0%5D=calendar%2Fmusic%2A&venue_zip=&d1=6%2F9%2F2015&d2=&fl=&s=start_time&sd=asc&l=100&o=0

From what I can tell, this is likely due to CircleCI using a proxy to make HTTP requests, which can cause 417 errors when the Expect: 100 Continue header is included. Since we're not manually adding that header, I assume Play/Java is adding it. Is there any way to disable this and/or is there some other solution to this problem? Thanks!

0

There are 0 answers