Results 29 comments of Neil

I'll just leave this here: ```package feeder import ( "fmt" "net/http" "time" "github.com/pkg/errors" "github.com/mmcdole/gofeed" ) var gmtTimeZoneLocation *time.Location func init() { loc, err := time.LoadLocation("GMT") if err != nil {...

@mmcdole I only needed to extend the struct to add `Etag` and `LastModified` to provide this functionality

I could make a PR that modifies the ParseURL function like this: `ParseURL(url string, opts ...Options)` And define an etag option and a lastmodified option. By changing the signature to...

This is currently implemented in the mime package: https://golang.org/src/mime/mediatype.go?s=4428:4473#L167 However, only 'us-ascii' and 'utf-8' are supported at this time: https://golang.org/src/mime/mediatype.go?s=5620:5663#L223 As is, you will get a "hex percent-encoded" result, but...

@jhillyerd If we want to implement this fix we have two options: PR into golang mime package, which would bring the "enmime/internal/coding/charsets.go" for the ride, or copy out ParseMediaType such...

Here is a playground exposing the result: https://play.golang.org/p/zOX_CQAV23l

So it looks like there is a hard-limit at 998 characters per line, but a suggested soft-limit at 78 characters per line (excluding CRLF line termination) [RFC-5322](https://www.ietf.org/rfc/rfc5322.txt): > 2.3. Body...

Yeah, at 78-char wide it would look nice and tidy when you scroll by the base64 (72-char wide blocks)

@jhillyerd I was looking at https://github.com/yosssi/gohtml as a drop in for satisfying the HTML line wrapping requirement. There is still more work to be done implementing format=flowed for text/plain

@akrylysov Figured we would want to support this...