benoitdm-oslandia / pg_featureserv

Apache License 2.0
1 stars 0 forks source link

Task - create a test to validate the strong eTag creation #44

Closed benoitdm-oslandia closed 1 year ago

benoitdm-oslandia commented 1 year ago
func etag(tableName string, id, query_param, crs) string {
     // crc := crc32.ChecksumIEEE(data) # weak 
     weakETag := getWeakETag (tableName, id)
     return fmt.Sprintf(`W/"%s-%s-%d-'Reference to deleted milestone 08'X"`, name, crs, len(data), weakETag)
}

table_name + crs + base64 (id, champ, weak)

benoitdm-oslandia commented 1 year ago

marked this issue as related to #35

benoitdm-oslandia commented 1 year ago

marked this issue as related to #10

benoitdm-oslandia commented 1 year ago

cloned to #51

benoitdm-oslandia commented 1 year ago

marked this issue as related to #51