Fix the curl examples for custom Accept headers in the API docs.

Review Request #8103 — Created April 6, 2016 and submitted

Information

Review Board
release-2.0.x
d723b92...

Reviewers

The API docs were showing curl examples using -A for an Accept header,
but this is actually the User Agent header. This fixes the doc output to
show a correct example.

Rebuilt the docs and tested the example for the text/x-patch header
on the diffs API. Saw the correct output.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        docs/manual/_ext/webapidocs.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        docs/manual/_ext/webapidocs.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (67b3b55)
Loading...