-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25548/
-----------------------------------------------------------

Review request for Aurora, David McLaughlin and Bill Farner.


Bugs: AURORA-697
    https://issues.apache.org/jira/browse/AURORA-697


Repository: aurora


Description
-------

Apply GzipFilter to POSTs as well as GETs


Diffs
-----

  src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java 
83ba0e49436034c8b6f9f736c60a726686096362 
  src/test/java/org/apache/aurora/scheduler/http/ServletFilterTest.java 
2c31df6d0ac1c58e02b13d61ba9f511b781a20a7 

Diff: https://reviews.apache.org/r/25548/diff/


Testing
-------

./gradlew build -Pq

Also verified content-encoding against response from scheduler in vagrant image:

$ curl -s -D - -o /dev/null -H "Accept-Encoding: gzip" -X POST -d @- \
>         http://192.168.33.7:8081/api <<EOF |tr '\r' '\n' |grep 
> "Content-Encoding" |awk '{print $2}' \
>         |tr '[:upper:]' '[:lower]'
> [1,"getJobSummary",1,0,{"1":{"str":"vagrant"}}]
> EOF
gzip


Thanks,

Joshua Cohen

Reply via email to