Permalink
Browse files

relax parsing of folded header values

  • Loading branch information...
mscdex committed Jan 14, 2013
1 parent 8527cab commit fc7606b8b79f32d4563da46147ed9cd4a7e4d803
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nntp.js
View
@@ -14,7 +14,7 @@ var tls = require('tls'),
reGroupDesc = /^([^\s]+)\s+(.+)$/,
reStat = /^(\d+)\s+(.+)$/,
reGroup = /^(\d+)\s+(\d+)\s+(\d+)\s/,
reHdr = /^([^:]+):\s(.+)?$/,
reHdr = /^([^:]+):\s?(.+)?$/,
reHdrFold = /^\s+(.+)$/,
respsML = [100, 101, 215, 220, 221, 222, 224, 225, 230, 231],
respsHaveArgs = [111, 211, 220, 221, 222, 223, 401],

0 comments on commit fc7606b

Please sign in to comment.