<commit_before>*** node_modules/browser-sync/node_modules/foxy/index.js	2014-07-18 18:09:14.000000000 +0300
--- node_modules/browser-sync/node_modules/foxy/index.js	2014-09-04 13:06:19.529806483 +0300
***************
*** 62,68 ****
          if (res.statusCode === 302) {
              res.headers.location = utils.handleRedirect(res.headers.location, opts, proxyHost);
          }
-         utils.removeHeaders(res.headers, ["content-length", "content-encoding"]);
      });
  
      function getRules() {
--- 62,67 ----<commit_msg>Update foxy.patch to change statusCode 301 to 302 to prevent caching<commit_after>*** node_modules/browser-sync/node_modules/foxy/index.js	2014-07-18 18:09:14.000000000 +0300
--- node_modules/browser-sync/node_modules/foxy/index.js	2014-09-15 12:19:20.091373289 +0300
***************
*** 59,68 ****
  
      // Remove headers
      proxyServer.on("proxyRes", function (res) {
          if (res.statusCode === 302) {
              res.headers.location = utils.handleRedirect(res.headers.location, opts, proxyHost);
          }
-         utils.removeHeaders(res.headers, ["content-length", "content-encoding"]);
      });
  
      function getRules() {
--- 59,70 ----
  
      // Remove headers
      proxyServer.on("proxyRes", function (res) {
+         if (res.statusCode === 301) {
+             res.statusCode = 302;
+         }
          if (res.statusCode === 302) {
              res.headers.location = utils.handleRedirect(res.headers.location, opts, proxyHost);
          }
      });
  
      function getRules() {
{'fraction_non_alphanumeric': 0.17374517374517376, 'fraction_numerical': 0.0933075933075933, 'mean_word_length': 2.56651376146789, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1811315', 'n_tokens_mistral': 587, 'n_tokens_neox': 485, 'n_words': 80}