Skip to content

@RequestHeader with null value set templated name as value #726

@tjuchniewicz

Description

@tjuchniewicz

Continuation of https://github.com/spring-cloud/spring-cloud-netflix/issues/1594

Looks like bug or feature in RequestTemplate:

 Object value = variables.get(var.toString());
 if (value != null) {
     builder.append(value);
} else {
    builder.append('{').append(key).append('}');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions