Sfoglia il codice sorgente

Fixed indent headers.json

Angel Rey 5 anni fa
parent
commit
a8a8fd14ac
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      archivebox/util.py

+ 1 - 1
archivebox/util.py

@@ -185,7 +185,7 @@ def get_headers(url: str, timeout: int=None) -> str:
         timeout=timeout,
         timeout=timeout,
     )
     )
     
     
-    return pyjson.dumps(dict(response.headers))
+    return pyjson.dumps(dict(response.headers), indent=4)
 
 
 
 
 @enforce_types
 @enforce_types