<commit_before>
         
   CIGAR  
         



ALTERNATIVES ==>                  #See dredd

VERSION ==>                       #1.9.0
                                  #Automates simple HTTP requests and response checks (using Curl)


                                             /=+===============================+=\
                                            /  :                               :  \
                                            )==:             CONF              :==(
                                            \  :_______________________________:  /
                                             \=+===============================+=/


CONF                              #Either:
                                  #  - --config|-c CONF_FILE
                                  #  - ./.cigar.json
                                  #Is a REQUEST_ARR

REQUEST.url                       #Request URL
REQUEST.status                    #Expected response status
REQUEST.content                   #Expected response body
REQUEST.content-type              #Expected Content-Type [S]


                                             /=+===============================+=\
                                            /  :                               :  \
                                            )==:              RUN              :==(
                                            \  :_______________________________:  /
                                             \=+===============================+=/


cigar                             #Run all tests
                                  #Exit code 1 if any failed
-u URL
--url URL                         #Prepended to all REQUEST.url

--quiet                           #

-a "TYPE TOKEN"
--auth "TYPE TOKEN"               #HTTP authentication
-i
--insecure                        #No SSL check<commit_msg>no commit message<commit_after>
         
   CIGAR  
         



ALTERNATIVES ==>                  #See dredd

VERSION ==>                       #1.9.0
                                  #Automates simple HTTP requests and response checks (using Curl)


                                             /=+===============================+=\
                                            /  :                               :  \
                                            )==:             CONF              :==(
                                            \  :_______________________________:  /
                                             \=+===============================+=/


CONF                              #Either:
                                  #  - --config|-c CONF_FILE
                                  #  - ./.cigar.json
                                  #Is a REQUEST_ARR

REQUEST.url                       #Request URL
REQUEST.status                    #Expected response status
REQUEST.content                   #Expected response body
REQUEST.content-type              #Expected Content-Type [S]


                                             /=+===============================+=\
                                            /  :                               :  \
                                            )==:              RUN              :==(
                                            \  :_______________________________:  /
                                             \=+===============================+=/


cigar                             #Run all tests
                                  #Exit code 1 if any failed
-u URL
--url URL                         #Prepended to all REQUEST.url

--quiet                           #
-j                                #Output JSON OBJ_ARR:
                                  #  (if non-test-specific error)
                                  #  - type 'error'
                                  #  - message STR
                                  #  (otherwise)
                                  #  - type 'results'
                                  #  - passed BOOL
                                  #  - results_[passed_]count NUM
                                  #  - time_taken NUM
                                  #  - results OBJ_ARR:
                                  #     - passed BOOL
                                  #     - url STR
                                  #     - status_code_expected|actual NUM
                                  #     - content_expected STR
                                  #     - content_type_expected|actual STR

-a "TYPE TOKEN"
--auth "TYPE TOKEN"               #HTTP authentication
-i
--insecure                        #No SSL check
{'fraction_non_alphanumeric': 0.23176936122102884, 'fraction_numerical': 0.0015074429998115696, 'mean_word_length': 0.7908232118758435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 76, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '417594', 'n_tokens_mistral': 2978, 'n_tokens_neox': 2874, 'n_words': 191}