• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gwicke / restbase / 331
85%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 01 May 2015 11:26PM UTC
Jobs 3
Files 11
Run time 26s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
331

push

travis-ci

gwicke
Provide full version in etag headers

Clients like the Content Translation service need a generic way to figure out
the revision they received when using end points that aren't revision-based.
Parsoid provided a private header (x-content-revision) for this so far, but in
RB it is preferable to use standard headers instead. In HTTP, revision IDs are
normally provided in the ETag header. We already passed the timeuuid in the
ETag header, but left out the revision so far.

This patch changes the format of our ETag header to include the revision in
addition to the tid, separated by a slash:

ETag: "123456/c4e494da-ee8f-11e4-83a1-8b80de1cde5f"

This provides content-independent version information that's reasonably simple
to parse. Quotes are required by the ETag spec (to do with the w/ prefix for
weak identifiers), sorry about that.

Bug: T97393

950 of 1114 relevant lines covered (85.28%)

127.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 331.1 01 May 2015 11:26PM UTC 0
85.28
Travis Job 331.1
2 331.2 01 May 2015 11:26PM UTC 0
85.28
Travis Job 331.2
3 331.3 01 May 2015 11:26PM UTC 0
85.28
Travis Job 331.3
Source Files on build 331
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #331
  • 2fa4efb6 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc