Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(153)

Issue 8796047: Fix response Content-Type of proxy error responses. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by kpreid2
Modified:
12 years, 10 months ago
Reviewers:
Jasvir
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

CajolingService.handle was returning JSON as the Content-Type for responses resulting from result == null (such as when the input URL 404's) instead of the proper type dependent on whether json-in-script was requested. See also revision 5298, which fixed this same problem for the success cases. @r5361

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M src/com/google/caja/service/CajolingService.java View 1 chunk +1 line, -1 line 0 comments Download
M tests/com/google/caja/service/ProxyHandlerTest.java View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 2
kpreid2
12 years, 10 months ago (2013-04-17 22:44:49 UTC) #1
Jasvir
12 years, 10 months ago (2013-04-17 22:50:40 UTC) #2
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b