Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #482 - vheon:fix-no-hmac-header-on-big-request, r=micbou
[READY] Return a proper response when the request is too big. We have a hard limit on the size of the request that ycmd can handle that is set to 1Mb. This is dictated by Bottle and there is no way around it. #### Why is this a problem: When a client makes a request greater than 1Mb Bottle returns an error that is not generated by us and thus it is not a json response, but an html one, and it doesn't contain the HMAC header which causes errors like #476. For now I've pushed only the failing test. Once I see it fail on Travis I will push the fix. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/482) <!-- Reviewable:end -->
- Loading branch information