A little simpler would be:

```
for ((i=0; i < 100; i++)); do
  for accept_encoding in "" "-HAccept-Encoding:gzip"; do
    if [ -z "$POST_DATA" ]; then 
      curl -m 1 -S -s -v $accept_encoding -H "Host: $HOST_NAME" \
          $URL $URL $URL $URL $URL > /dev/null \
          2>>"$TEST_TMP/$CURL_LOG_FILE"
    else
      curl -X POST --data "$POST_DATA" -m 1 -S -s -v \
          $accept_encoding -H "Host: $HOST_NAME"\
          $URL $URL $URL $URL $URL > /dev/null \
          2>>"$TEST_TMP/$CURL_LOG_FILE"
    fi
  done
done
```