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

Issue 391042: Calculate response Hash value

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 10 months ago by zhoresh
Modified:
15 years, 10 months ago
Reviewers:
johnfargo, chirag, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

This feature will be used by the Uri rewritters to create versions for resources. The request pipeline calculates the md5 for each response and store it in the HttpResponse metadata map. The added class HttpResponseMetadataHelper will support updating the metadata for other values, such as image dimensions to supoprt img link rewritter (will be done if next CL).

Patch Set 1 #

Total comments: 3

Patch Set 2 : Update according to john comments #

Patch Set 3 : One more time with integration test #

Total comments: 1

Messages

Total messages: 9
zhoresh
15 years, 10 months ago (2010-03-11 00:40:47 UTC) #1
johnfargo
http://codereview.appspot.com/391042/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/http/DefaultRequestPipeline.java (right): http://codereview.appspot.com/391042/diff/1/2#newcode48 java/gadgets/src/main/java/org/apache/shindig/gadgets/http/DefaultRequestPipeline.java:48: HttpResponseMetadataHelper metadataHelper) { may want to make this @Nullable, ...
15 years, 10 months ago (2010-03-11 00:48:26 UTC) #2
zhoresh
On Wed, Mar 10, 2010 at 4:48 PM, <johnfargo@gmail.com> wrote: > > http://codereview.appspot.com/391042/diff/1/2 > File ...
15 years, 10 months ago (2010-03-11 01:20:55 UTC) #3
zhoresh
Update according to john comments
15 years, 10 months ago (2010-03-11 01:21:59 UTC) #4
johnfargo
Sounds good but don't get rid of the integration test, I'd just like to see ...
15 years, 10 months ago (2010-03-11 01:26:05 UTC) #5
zhoresh
One more time with integration test
15 years, 10 months ago (2010-03-11 01:45:05 UTC) #6
johnfargo
LGTM, committed.
15 years, 10 months ago (2010-03-11 02:34:24 UTC) #7
chirag
http://codereview.appspot.com/391042/diff/12002/25005 File java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpResponseMetadataHelper.java (right): http://codereview.appspot.com/391042/diff/12002/25005#newcode50 java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpResponseMetadataHelper.java:50: // metadata.putAll(values); Just curious, what was wrong with putAll?
15 years, 10 months ago (2010-03-11 02:44:21 UTC) #8
zhoresh
15 years, 10 months ago (2010-03-11 03:58:54 UTC) #9

On Mar 10, 2010, at 6:44 PM, chiragshah1@gmail.com wrote:

>
> http://codereview.appspot.com/391042/diff/12002/25005
> File
> java/gadgets/src/main/java/org/apache/shindig/gadgets/http/ 
> HttpResponseMetadataHelper.java
> (right):
>
> http://codereview.appspot.com/391042/diff/12002/25005#newcode50
> java/gadgets/src/main/java/org/apache/shindig/gadgets/http/ 
> HttpResponseMetadataHelper.java:50:
> // metadata.putAll(values);
> Just curious, what was wrong with putAll?

I had a problem with a test and I tried multiple things, this was just  
as part of my trail and error.
I should have put back the putAll

>
> http://codereview.appspot.com/391042/show
Sign in to reply to this message.

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