Changes between Version 51 and Version 56 of Ticket #394


Ignore:
Timestamp:
04/02/2015 11:27:08 AM (5 years ago)
Author:
saroyanm
Comment:

Replying to kzar:

@saroyanm a quick note before I forget, the response to successful POST requests to the submission API will be "204 No content" instead of "200 OK" now. If you have any code that checks the status code is 200 (even implicitly) before considering the response a success you will need to adjust accordingly.

Edit: (Don't hard code the expectation of 204 obviously, just accept any successful 2xx status codes.)

Description updated, thanks for commenting that out, will update the review patch accordingly.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #394

    • Property Blocked By changed from to 2220
  • Ticket #394 – Description

    v51 v56  
    1212Right now, a total hit count and date of last hit are already being stored for each filter. In addition to that, we want to store a per-domain hit count and date of last hit - only if the filter hit statistics setting is enabled. 
    1313 
    14 Once a week (we might tweak that later) the client should send this data to our server: 
     14Once a week (we might tweak that later) the client should send this data to our server using `https://hitstats.adblockplus.org/submit` service URL, code for successful response should be `204 No content`. 
     15 
     16Data: 
    1517 
    1618{{{