src/org/kocakosm/pitaya/net/MediaType.java
public MediaType withoutParameter(String attribute)
	{
		Parameters.checkNotNull(attribute);
		Map<String, String> params = new LinkedHashMap<String, String>();
		params.putAll(parameters);
		params.remove(attribute);
		return new MediaType(type, subtype, params);
	}
public MediaType withoutParameter(String attribute)
	{
		Parameters.checkNotNull(attribute);
		Map<String, String> params = new LinkedHashMap<String, String>();
		params.putAll(parameters);
		params.remove(attribute);
		return new MediaType(type, subtype, params);
	}
Returns a new {@code MediaType} instance similar to this one but
without the specified parameter.

@param attribute the attribute of the parameter to remove.

@return the created {@code MediaType}.

@throws NullPointerException if {@code attribute} is {@code null}.