Please add custom HTTP header to syncing requests

Bug #1120488 reported by McFry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tomdroid
Fix Released
Wishlist
Unassigned
Beta
Fix Released
Wishlist
Unassigned

Bug Description

I am working on a Tomboy/Tomdroid sync server (see http://www.notesync.org/), and want to suggest that Tomdroid adds a custom HTTP Header to every HTTP request when syncing. I would recommend including the tomdroid version (and maybe build number if exists) in the Header like this:

    X-Tomboy-Client: Tomdroid v0.7.2, build ABC123

This would allow better debugging any syncing issues (on the Rainy as well as on the tomdroid side). And if one day there is a critical bug in Tomdroid that i.e. would cause losing of all notes, one could blacklist the faulty versions on the server side and notify the user, to prevent from the less.

One could also use the User-Agent header for this task, but I am not sure if it is better left for the underlying transport (i.e. there might be the User-Agent: libcURL-0.x.x or User-Agent: Android built-in http requester etc).

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

Good idea!

Changed in tomdroid:
milestone: none → 0.7.3
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

Sh**! I pushed this change but now I can't find it any more... what went wrong? Have to look at my local branch again...

Changed in tomdroid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.