+
    '(jz                         ^ RI t ^ RIt^ RIt^RIHt ^RIHtHt ^RIH	t	H
t
HtHt ^RIHt . ROtR R ltR R	 ltR
 R ltR R ltR R ltR# )    N)print_doctor)
handle_runparse_http_file)SUPPORTED_METHODSParsedItemsparse_request_itemsprocess_url)handle_requestc                <    V ^8  d   QhR\         P                  RR/#    parserreturnNargparseArgumentParser)formats   "K/home/ubuntu/cf-venv/lib/python3.14/site-packages/curl_cffi/cli/__init__.py__annotate__r      s$     w wh55 w$ w    c                   V P                  4       pVP                  RRRRRR7       VP                  RRRR	R
7       VP                  RRRR
7       V P                  4       pVP                  RRRRR7       VP                  RRRRR7       VP                  RRRRR
7       VP                  RRRRRR7       V P                  RRRRR
7       V P                  RR RR!R"7       V P                  R#R$RR%R"7       V P                  R&\        P                  R'R(R)7       V P                  R*RR+R"7       V P                  R,\        RR-R.7       V P                  R/\        P                  R'R0R)7       V P                  R1\
        ^R2R.7       V P                  R3R4R5R6R"7       V P                  4       pVP                  R7R8R9R:R;R<7       VP                  R=R8R>R:R?R<7       VP                  R@R8RAR:RBR<7       VP                  RCR8RDR:RER<7       R# )Fz.Add flags shared by all HTTP verb subcommands.z--jsonz-j
store_true	json_modez/(default) Serialize data items as a JSON object)actiondesthelpz--formz-fz#Serialize data items as form fields)r   r   z--multipartzForce multipart form dataz	--headersheaders_onlyzPrint response headers onlyz--body	body_onlyzPrint response body onlyz	--verbosez-vz+Print request and response headers and bodyz--printz-p
print_specNzGOutput control: H(req headers) B(req body) h(resp headers) b(resp body))r   defaultr   z
--downloadz-dzDownload response body to filez--outputz-ozOutput file path)r    r   z--authz-azuser:passwordz--verifyTzSSL certificate verificationr   r    r   z--proxyz	Proxy URLz	--timeoutzRequest timeout in seconds)typer    r   z--followzFollow redirectsz--max-redirectszMaximum number of redirectsz--impersonatez-ichromezBrowser to impersonatez	--http1.1store_constv1http_versionzUse HTTP/1.1)r   constr   r   z--http2v2z
Use HTTP/2z--http3v3z
Use HTTP/3z--http3-onlyv3onlyz3Use HTTP/3 only (no fallback to HTTP/2 or HTTP/1.1))add_mutually_exclusive_groupadd_argumentr   BooleanOptionalActionfloatint)r   content_groupoutput_grouphttp_version_groups   &   r   _add_common_flagsr3      s   779M>   2	   (   668L*	   '	   :	   V   -	   
D$=OP
$?K
--+	   	4kB
)	   --	   *	   %	    <<>## $  ## $  ## $  ##B $ r   c                <    V ^8  d   QhR\         P                  RR/# r   r   )r   s   "r   r   r      s       X%<%<  r   c                X    V P                  RRRR7       V P                  RRRRR	7       R
# )z*Add URL and request items positional args.urlURLzRequest URLmetavarr   itemsITEM*zYRequest items: Header:Value, param==value, field=value, field:=json, @file, +cookie=value)r9   nargsr   N)r,   )r   s   &r   _add_request_positionalsr>      s8    
u=A
#  r   c                    V ^8  d   QhRR/# r   r   N )r   s   "r   r   r      s     E ET Er   c                      \         P                  P                  \        P                  ^ ,          4      p V R9   d   Rp \        RV  RV  R24       R# )r   	curl-cffizUsage: a+   <command> [options]

HTTP request CLI with browser impersonation.

HTTP verbs:
  get, post, put, delete, patch    Make an HTTP request
  head, options, trace, query      (case-insensitive)

Request items (for HTTP verb commands):
  Header:Value   HTTP header
  param==value   Query parameter
  field=value    Data field
  field:=json    Raw JSON field
  @file          File upload
  +key=value     Cookie

Tools:
  run FILE                         Run requests from .http or .har file
  doctor                           Dump diagnostic information

Run 'z5 <command> --help' for details on a specific command.N)z__main__.pyz-m)ospathbasenamesysargvprint)progs    r   _print_helprK      sT    77CHHQK(D$$	 v ( V@+D Er   c                8    V ^8  d   QhR\         P                  /# )r   r   r   )r   s   "r   r   r      s     ? ?h-- ?r   c                     \         P                  ! R RR7      p V P                  RRRRR7       V P                  RR	7      p\	        \
        4       F[  pVP                  4       V3 FB  pVP                  VR
V R2R7      p\        V4       \        V4       VP                  VR7       KD  	  K]  	  VP                  RRR7      pVP                  RR7       VP                  RR\         P                  R7      pVP                  RRRR7       VP                  R\         P                  RRR7       \        V4       VP                  RR7       V # )rC   F)rJ   add_helpz-hz--helpr   	show_help)r   r   command)r   zMake an HTTP z	 request.)description)methoddoctorz*Dump diagnostic information for debugging.Nruna%  Run requests from a file.

Supported formats (auto-detected by extension):
  .http / .rest   HTTP Request in Editor format
  .har            HAR (HTTP Archive) format

HTTP file format:
  ### (request separator)
  POST http://example.com/api
  Content-Type: application/json

  {"key": "value"}
  ###
  GET http://example.com

Har file:
  Chrome exported HAR files do not contain cookies and auth headers by default. To include them:

  In DevTools settings: Gear Icon -> Preferences -> Network -> select "Allow to generate HAR with sensitive data"
)rQ   formatter_classfileFILEzPath to .http or .har filer8   z	--sessionTzYUse a single session for all requests, sharing cookies and connections (default: enabled)r!   )r   r   r,   add_subparserssortedr   lower
add_parserr>   r3   set_defaultsRawDescriptionHelpFormatterr-   )r   
subparsersrR   namesubs        r   build_parserra      sg   $$F h|+N&&I&6J*+\\^V,D''+F89= ( C %S)c"F+ - , 

@   C D!


* !<</   C2 VV2NO--!   cD!Mr   c                    V ^8  d   QhRR/# r@   rA   )r   s   "r   r   r     s     & &d &r   c                  \   \        4       p V P                  4       pVP                  e   \        VRR4      '       d!   \	        4        \
        P                  ! ^ 4       VP                  R8X  d   \        4        R # VP                  R8X  d   \        V4       R # \        WP                  4       R # )NrO   FrS   rT   )ra   
parse_argsrP   getattrrK   rG   exitr   r   r
   rR   )r   argss     r   mainrh     sv    ^FD||wt[%@@||x||u44%r   )
ra   rh   r
   r   r   r   r	   r   r   r   )r   rD   rG   rS   r   rT   r   r   parser   r   r   r	   requestr
   __all__r3   r>   rK   ra   rh   rA   r   r   <module>rl      sG     	 
   ,  $wtE8?D&r   