Skip to content

Commit

Permalink
update description
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Sep 20, 2021
1 parent c460524 commit f7b85ef
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions fastly/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ var UserAgent = fmt.Sprintf("FastlyGo/%s (+%s; %s)",
ProjectVersion, ProjectURL, runtime.Version())

// formEncodingArrayPattern is used to match the encoded multi-valued field
// format of |<T> where T is an incrementing index such as:
// services|0=A&services|1=B
// format of |<T> where T is an incrementing index
//
// Example:
// foo|0=A&foo|1=B
//
// NOTE:
// I'm only checking double digits and nothing larger as I don't expect anyone
// to provide over 99 separate values.
var formEncodingArrayPattern = regexp.MustCompile(`%7C\d{1,2}`)

// Client is the main entrypoint to the Fastly golang API library.
Expand Down

0 comments on commit f7b85ef

Please sign in to comment.