Skip to content

Commit fc52778

Browse files
committed
Remove X-USER-IP header
1 parent 4ed97ca commit fc52778

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

describe.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,7 @@ def generate_all_api_documents(directory_uri=DIRECTORY_URI, doc_destination_dir=
471471
"""
472472
api_directory = collections.defaultdict(list)
473473
http = build_http()
474-
resp, content = http.request(
475-
directory_uri, headers={"X-User-IP": "0.0.0.0"}
476-
)
474+
resp, content = http.request(directory_uri)
477475
if resp.status == 200:
478476
directory = json.loads(content)["items"]
479477
for api in directory:

0 commit comments

Comments
 (0)