[soundwave] Add option on services.Request to retrieve json/jsonp format |
||
Issue description
In particular, when expecting a json response, some services expect us to explicitly add 'Accept=application/json' to the header.
Furthermore, we can make it more transparent and easier to deal with jsonp ("padded") reponses with leading junk before the actual json content.
,
Jan 3
,
Jan 3
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3cb6f15c4f4cfa346ae36ba6f81a00b843f71dc7 commit 3cb6f15c4f4cfa346ae36ba6f81a00b843f71dc7 Author: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Date: Thu Jan 03 15:43:06 2019 Roll src/third_party/catapult 24bb5c49673b..d9f036200e10 (1 commits) https://chromium.googlesource.com/catapult.git/+log/24bb5c49673b..d9f036200e10 git log 24bb5c49673b..d9f036200e10 --date=short --no-merges --format='%ad %ae %s' 2019-01-03 perezju@chromium.org [soundwave] Add services.Request(accept=..) option Created with: gclient setdep -r src/third_party/catapult@d9f036200e10 The AutoRoll server is located here: https://autoroll.skia.org/r/catapult-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel BUG= chromium:917377 TBR=sullivan@chromium.org Change-Id: I457430283fe4cf86809bf6ed7bf7931f8d7db876 Reviewed-on: https://chromium-review.googlesource.com/c/1394200 Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#619647} [modify] https://crrev.com/3cb6f15c4f4cfa346ae36ba6f81a00b843f71dc7/DEPS |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 3