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

gwicke / restbase
85%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Repo Added 23 Jan 2015 05:34AM UTC
Files 29
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

LAST BUILD ON BRANCH etags
branch: etags
CHANGE BRANCH
x
Reset
  • etags
  • Pchelolo-access_check
  • Pchelolo-redirect_docs
  • Pchelolo-security_filter
  • allow_pipelining
  • api-user-agent
  • api_cleanup
  • aqs_caching
  • background_race
  • bump_preq
  • cache_control_override
  • cassandra_bump
  • cassandra_driver_v2
  • clarify_html_to_wikitext_selser_params
  • clean-up-tid-requests
  • compression
  • config_cleanup
  • container_travis
  • content_type_enforcement
  • cscott-quoted-content-type
  • d00rman-rb-mod-cass-table
  • dataparsoid-listing
  • dependency_update
  • description_update
  • description_update_2
  • disable-swagger-validator
  • disable_nocache_instance_tests
  • doc_updates
  • document_metric_rate_limits
  • dont_coerce_json_post
  • enforce_parsoid_content_types
  • etag_check
  • fix_example_config
  • fix_nc
  • fixit
  • forward_user_agent_to_parsoid
  • hacky_listings
  • html_purging_caching
  • ipv6_embedded_support
  • key_rev_value
  • key_value_timeseries
  • kv_cache
  • limit-syntax-highlight-size
  • list_revisions_once
  • listing_clarification
  • local_config_example
  • log_bodyOnly
  • master
  • math_cache_control
  • mathoid_caching
  • metric_prefix_fix
  • metric_trees
  • mobileapps_varnish_caching
  • mod_cleanup
  • module_option_templating
  • module_sharing_fix
  • modules
  • more_client_info_in_log
  • more_efficient_revision_query
  • more_reliable_parsoid_change_detection
  • no_caching_for_non_canonical_requests
  • no_parsoid_retry
  • nocache-headers
  • node_4.1
  • node_5_testing
  • normalize_title
  • optimized_templating
  • package-cleanup
  • pageviews_proxy
  • paging
  • parsoid_bucket_type_option
  • pass_original_previous_content_parsoid
  • pdf_encoding
  • pdf_filename_encoding_T171747
  • preserve_parameters_in_path_by_default
  • printable_pdf
  • private_to_internal
  • promise_chain_opt
  • reqid_failure
  • request_counts
  • require_tid_if_revision
  • rerender
  • rerender_blacklist
  • rest.wikimedia.org_sunset
  • rest_wikimedia_org_logging
  • revert_mobile_config_change
  • review/mforns/366852
  • robots_txt
  • sampled_normalization_logging
  • sampled_version_warnings
  • scrubWikitext
  • section-api
  • security_header_filter
  • security_headers
  • selser
  • service-runner
  • simple_config_example_yaml
  • siteinfo_fetch_failure_code
  • spec_basepath
  • spec_cleanup
  • spec_merging
  • spec_modules
  • spec_swagger_ui_cleanup
  • spec_ui
  • special-wikis
  • statsd-interface
  • stream_response_support
  • streaming_chunk_responses
  • swagger-paths
  • sys_filter
  • table_spec_move
  • temporarily_limit_commons_redirects_to_app
  • test_failures
  • test_iojs
  • textextracts
  • tighten_csp
  • title_data-parsoid_cleanup
  • transform_rate_limits
  • update_cassandra
  • update_cassandra_backend
  • update_parsoid_version
  • update_security_headers
  • use_412_on_precondition_failure
  • use_child_for_logging_and_metrics
  • v0.7.11
  • v0.9.1
  • x-textarea
  • xff

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

Relevant lines Covered
Build:
Build:
1114 RELEVANT LINES 950 COVERED LINES
127.98 HITS PER LINE
Source Files on etags
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
331 etags 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)... push 01 May 2015 11:26PM UTC gwicke travis-ci pending completion  
See All Builds (403)
  • Repo 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