pair icon indicating copy to clipboard operation
pair copied to clipboard

/url doesnt support 'content type: text/plain'

Open camAtGitHub opened this issue 1 year ago • 0 comments

Using pair and running /url https://raw.githubusercontent.com/goharbor/harbor/main/api/v2.0/swagger.yaml it fails to retrieve the document with errors:

2023-06-25 23:47:42.715 | WARNING  | pair_ai.extract:get_url_text:62 - https://raw.githubusercontent.com/goharbor/harbor/main/api/v2.0/swagger.yaml
2023-06-25 23:47:42.716 | WARNING  | pair_ai.retry:f_retry:40 - Exception: Unsupported content type: text/plain; charset=utf-8
2023-06-25 23:47:42.716 | INFO     | pair_ai.retry:f_retry:41 - retrying in 0.5 seconds

Thanks

camAtGitHub avatar Jun 25 '23 23:06 camAtGitHub